package com.ruoyi.project.NH.farmer.exception;

import com.ruoyi.common.exception.ServiceException;

/**
 * @program: NH
 * @description: 数据错误
 * @author: 郑吉志
 * @create: 2023-03-15 18:34
 **/
public class DataException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    protected final String message;

    public DataException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage()
    {
        return message;
    }
}